package com.bigwork.mapper;

//import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bigwork.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Optional;

@Mapper
public interface OrderMapper {
    int insert(Order order);
    Order selectByOrderNumber(String orderNumber);
    List<Order> selectByUserId(Long userId);
}